# -*- coding: utf-8 -*-
from datetime import timedelta
from utils.operators.bash import BashOperator

from spmi.time_sensor import time_after_05_30


spmi_ods__spmn_apack_bill = BashOperator(
    task_id='spmi_ods__spmn_apack_bill',
    execution_timeout=timedelta(hours=4),
    email=['yl_etl@yl-scm.com','lukunming@jtexpress.com'],
    bash_command="spmi/ods/mysql/spmi/spmn_apack_bill/execute.sh",
    pool='spmi_06',
    pool_slots=3,
)


spmi_ods__spmn_apack_bill << time_after_05_30